From f488040222f34df97deb2470f14cef7fb9599810 Mon Sep 17 00:00:00 2001 From: Tim Deegan Date: Mon, 6 Jun 2011 09:56:08 +0100 Subject: [PATCH] Fix 32-bit build after p2m series Signed-off-by: Tim Deegan --- xen/include/asm-x86/p2m.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xen/include/asm-x86/p2m.h b/xen/include/asm-x86/p2m.h index 0b4fa905d7..282e5edb14 100644 --- a/xen/include/asm-x86/p2m.h +++ b/xen/include/asm-x86/p2m.h @@ -493,6 +493,13 @@ static inline void p2m_mem_access_check(unsigned long gpa, bool_t gla_valid, unsigned long gla, bool_t access_r, bool_t access_w, bool_t access_x) { } +static inline int p2m_set_mem_access(struct domain *d, + unsigned long start_pfn, + uint32_t nr, hvmmem_access_t access) +{ return -EINVAL; } +static inline int p2m_get_mem_access(struct domain *d, unsigned long pfn, + hvmmem_access_t *access) +{ return -EINVAL; } #endif /* -- 2.30.2